﻿namespace Algorithm
{
    using System;

    public class ConsoleInputReader : IInputReader
    {
        public ConsoleInputReader()
        {
            this.LinesCount = int.Parse(Console.ReadLine());
        }

        public int LinesCount { get; private set; }

        public string[] ReadLine()
        {
            return Console.ReadLine().Split(' ');
        }
    }
}